package com.caseProcess.mapper;

import com.caseProcess.entity.Department;
import com.caseProcess.entity.Role;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author kittlen
 * @version 1.0
 * @date 2020/11/15 9:58
 */
@Repository
public interface RoleDao {
    int insert(Role role);
    int update(Role role);
    int delete(Role role);
    List<Role> selectRole(Role role);

    Role isExist(@Param("roleName") String roleName);
}





